package com.generator.service.courseDynamic.impl;

import com.generator.dao.courseDynamic.CourseDynamicDao;
import com.generator.entity.courseDynamic.CourseDynamic;
import com.generator.service.courseDynamic.CourseDynamicService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class CourseDynamicServiceBean implements CourseDynamicService {

    @Autowired
    private CourseDynamicDao courseDynamicDao;


    @Override
    public List<CourseDynamic> findAllCourseDynamic() {
        return courseDynamicDao.findAllCourseDynamic();
    }
}
